import request from "@/utils/request-siddhi";
import req from "@/utils/request";
const baseURL = "";
export function getMetadata() {
  return request({
    method: "get",
    url: "/editor/metadata",
    headers: {
      "Content-Type": "application/json"
    }
  });
}
export function edgeDesignDiagram(param) {
  return req({
    method: "post",
    url: baseURL + "/edge/mxxml",
    headers: {
      "Content-Type": "application/json"
    },
    data: param
  });
}
export function getSourcesinkzh() {
  return req({
    method: "get",
    url: baseURL + "/edge/zh",
    headers: {
      "Content-Type": "application/json"
    }
  });
}
// export function getAssetGateway(data) {
//     return req({
//         method: 'post',
//         url: '/gateway/get/list',
//         data
//     })
// }
